function createChat(userName,userId){
	if ($('#ht').tabs('exists', userName)){
        $('#ht').tabs('select', userName);
    } else {
		$('#ht').tabs('add',{
			title:userName,
			closable:true,
			content:"<div id='"+userId+"' class='easyui-layout' data-options='fit:true'></div>"
		});
		$('#ht').tabs('select', userName);
    }
	var optionsCenter = {
		region: "center",
		split:true,
	    title: "咨询 "+userName+ " 老师"
	};
	$("#"+userId).layout('add', optionsCenter);
	var optionsSouth = {
		region: "south",
		height: 200,
		content:"<div style='float:left'><textarea rows='5' cols='100' style='height:196px'></textarea></div><div style='float:right;padding-top:15px;padding-right:15px;'><input type='button' style='width:150;height:170' value='发送'/></div>"
	};
	$("#"+userId).layout('add', optionsSouth);
}